package com.model;

import java.util.List;

/**
 * Created by CHUMI on 2017/7/6.
 */
public class Classzz {
    private  int id;
    private  String  className;

    // 一对多  在一的一方  创建 多的一方的集合
    private List<Student> students;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Classzz() {
    }

    public Classzz(int id, String className) {
        this.id = id;
        this.className = className;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }
}
